//
//  CRChelpCenterUrl.m
//  jinyishe
//
//  Created by 金艺社 on 2018/2/24.
//  Copyright © 2018年 wy. All rights reserved.
//

#import "CRChelpCenterUrl.h"

@implementation CRChelpCenterUrl
+ (NSString *)helpInfo
{
    NSString *const str = @"rest/categoryList/app_help_center";
    return availableAPIUrl(str);
}

+ (NSString *)helpProblem:(NSString *)section
{
    NSString *str;
    if ([section isEqualToString:@"0"]) {
      str = @"rest/articleList/app_help_1";
    }else if ([section isEqualToString:@"1"]) {
      str = @"rest/articleList/app_help_2";
    }else if ([section isEqualToString:@"2"]) {
      str = @"rest/articleList/app_help_3";
    }else if ([section isEqualToString:@"3"]) {
      str = @"rest/articleList/app_help_4";
    }else if ([section isEqualToString:@"4"]) {
      str = @"rest/articleList/app_help_5";
    }else if ([section isEqualToString:@"5"]) {
      str = @"rest/articleList/app_help_6";
    }else if ([section isEqualToString:@"6"]) {
      str = @"rest/articleList/app_help_7";
    }
    return availableAPIUrl(str);
}
@end
